package com.qingmu.club.minaapi.plus.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 人员考评记录表
 * </p>
 *
 * @author duke
 * @since 2019-12-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class ClubStaffExam extends Model<ClubStaffExam> {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    /**
     * 题目id
     */
    private String examItemId;

    /**
     * 学堂id
     */
    private String growCollegeId;

    /**
     * 状态0-已完成 1-未完成
     */
    private String examStatus;

    /**
     * 答案是否正确 0-错误 1-正确
     */
    private Integer isTrue;

    /**
     * 选项id
     */
    private String examItemDetailIds;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 人员id
     */
    private String staffId;

    /**
     * 俱乐部id
     */
    private String clubId;


    public static final String ID = "id";

    public static final String EXAM_ITEM_ID = "exam_item_id";

    public static final String GROW_COLLEGE_ID = "grow_college_id";

    public static final String EXAM_STATUS = "exam_status";

    public static final String IS_TRUE = "is_true";

    public static final String EXAM_ITEM_DETAIL_IDS = "exam_item_detail_ids";

    public static final String CREATE_TIME = "create_time";

    public static final String STAFF_ID = "staff_id";

    public static final String CLUB_ID = "club_id";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
